package com.douchuang.archetype;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication(scanBasePackages = {"com.douchuang.archetype"})
@EnableAutoConfiguration
public class Starter {

    public static void main(String[] args) throws Exception {

//        ApplicationContext context = new AnnotationConfigApplicationContext(DelegatingWebFluxConfiguration.class);  // (1)
//        HttpHandler handler = DispatcherHandler.toHttpHandler(context);

        SpringApplication.run(Starter.class, args);
    }


}
